package cn.kgc.entity;


import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.Date;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class Group {

  private long id;
  private String name;
  private Date createDate;
  private String clazzId;

  // 业务属性

  private Clazz clazz;

  public Clazz getClazz() {
    return clazz;
  }

  public void setClazz(Clazz clazz) {
    this.clazz = clazz;
  }


  public Group() {
  }

  public Group(long id, String name, Date createDate, String clazzId) {
    this.id = id;
    this.name = name;
    this.createDate = createDate;
    this.clazzId = clazzId;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getClazzId() {
    return clazzId;
  }

  public void setClazzId(String clazzId) {
    this.clazzId = clazzId;
  }

}
